export default [
  {
    path: "/login",
    name: "Login",
    component: () => import("../views/Login.vue"),
  },
  {
    path: "/",
    name: "Layout",
    component: () => import("../layout/index.vue"),
    redirect: "/",
    children: [
      {
        path: "/",
        name: "Home",
        component: () => import("../views/Home.vue"),
      },
      {
        path: "/table",
        name: "table",
        component: () => import("../views/table/tableTest1.vue"),
      },
    ],
  },

  {
    path: "/:pathMatch(.*)",
    name: "NotFound",
    component: () => import("../views/Error.vue"),
  },
];
